<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title></title>
    <!--<link rel="stylesheet" type="text/css" href="../css/reset.css" />-->
    <link rel="stylesheet" type="text/css" href="../layui/css/layui.css" media="all"/>
    <style type="text/css">
        body {
            width: 100%;
            height: 100%;
            overflow: overlay;
        }

        .layui-container {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .logo-title {
            text-align: left;
            letter-spacing: 2px;
            padding: 14px 0;
        }

        .logo-title h1 {
            font-size: 25px;
            font-weight: bold;
        }

        .layui-form {
            background-color: #fff;
            border: 1px solid #fff;
            border-radius: 3px;
            padding: 14px 20px;
            box-sizing: border-box;
        }

        .layui-form .layui-form-item label {
            width: 100px;
        }

        .layui-form .layui-form-item input {
            line-height: 36px;
        }

        .add_btn {
            float: right;
            right: 20px;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <div class="layui-login-background">
        <div class="layui-form layui-form">
            <form class="layui-form" action="" id="popupForm">
                <div class="layui-form-item logo-title">
                    <h1>新建活动</h1>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>基本信息</legend>
                </fieldset>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label" for="ac_name">活动名称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="ac_name" lay-verify="required" autocomplete="off"
                                   class="layui-input"/>
                        </div>
                    </div>

                    <div class="layui-inline">
                        <label class="layui-form-label" for="ac_object">关联对象</label>
                        <div class="layui-input-inline">
                            <select name="ac_object" lay-verify="required">
                                <option value=""></option>
                                <option value="线索">线索</option>
                                <option value="客户">客户</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label" for="ac_type">活动类型</label>
                            <div class="layui-input-inline">
                                <select name="ac_type" lay-verify="required">
                                    <option value=""></option>
                                    <option value="线索">广告</option>
                                    <option value="研讨会/会议">研讨会/会议</option>
                                    <option value="营销">营销</option>
                                    <option value="公共关系">公共关系</option>
                                    <option value="合作伙伴">合作伙伴</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline" >
                            <label class="layui-form-label"><font style="color: red;">*</font>开始时间</label>
                            <div class="layui-input-inline">
                                <input type="date" name="ac_start_time" class="layui-input" id="ac_start_time" placeholder="选择日期">
                            </div>
                        </div>
                       <!-- <div class="layui-inline">
                            <label class="layui-form-label">开始时间</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" id="ac_start_time" placeholder="选择日期">
                            </div>
                        </div>-->
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" >
                            <label class="layui-form-label"><font style="color: red;">*</font>结束时间</label>
                            <div class="layui-input-inline">
                                <input type="date" name="ac_end_time" class="layui-input" id="ac_end_time" placeholder="选择日期">
                            </div>
                        </div>
                        <!--<div class="layui-inline">
                            <label class="layui-form-label">结束时间</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" id="ac_end_time" placeholder="选择日期">
                            </div>
                        </div>-->
                        <div class="layui-inline">
                            <label class="layui-form-label" for="ac_budget">活动预算</label>
                            <div class="layui-input-inline">
                                <input type="text" name="ac_budget" lay-verify="required" autocomplete="off"
                                       class="layui-input"/>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label" for="ac_site">活动地址</label>
                            <div class="layui-input-inline">
                                <input type="text" name="ac_site" lay-verify="required" autocomplete="off"
                                       class="layui-input"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">活动简介</label>
                            <div class="layui-input-inline">
                                <!-- <input type="text" class="layui-input" id="ac_comment"> -->
                                <textarea name="desc" placeholder="请输入内容" class="layui-textarea"
                                          id="ac_introduction"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item add_btn">

                        <button class="layui-btn" lay-submit="save" lay-filter="save">保存</button>
                        <button type="reset" class="layui-btn layui-btn-primary" lay-filter="cancel" id="colseBtn">取消
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>


<script src="../layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/jquery-3.0.0.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/addActivity.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>